import React, {useState, useEffect} from 'react'
// import {} from './style'
import CitySelect from './CitySelect'
import { useSearchParams } from 'react-router-dom'
export default function Home() {
    const [search] = useSearchParams()
    const cityName = search.get('name') || ''
    const [banners,setBanners] = us
    return (
        <div>
            <CitySelect cityName = {cityName}/>
                {/* banner业务 */}
                <Banners banners = {banners}/>
            
        </div>
    )
}